home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
476-500
/
500
/
wiconify
/
wiconify-source.lzh
/
Source
/
wExtern.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-19
|
3KB
|
57 lines
/*
* WICONIFY A utility that allows you to iconify any Intuition window
* on any screen, and to open WB windows on any screen.
*
* wExtern.c Common variables used by more than oe module.
*
* Copyright 1990 by Davide P. Cervone, all rights reserved.
* You may use this code, provided this copyright notice is kept intact.
*/
#include "wHandler.h"
/*
* The library pointers
*/
struct IntuitionBase *IntuitionBase;
struct GfxBase *GfxBase;
struct LayersBase *LayersBase;
struct SysBase *SysBase;
APTR IconTask; /* Pointer to the handler process */
UBYTE EndSigBit,CloseSigBit; /* Signals used for ending wIconify */
ULONG EndSignal,CloseSignal; /* and for closing screens */
WSCREEN *FirstScreen; /* Linked list of screen structures */
WSCREEN *WBScreen; /* Current WB screen */
WSCREEN *RealWB; /* pointer to the real WB screen */
struct MsgPort *wUserPort; /* Userport for all wIconify windows */
struct MsgPort *wIconPort; /* Port for wIconify messages */
char *wIconifyTitle = ICONIFYTITLE; /* Screen title for wIconify windows */
struct Window *ActiveWindow; /* Current active wIconify window */
struct Image DefaultIcon =
{0,0, ICONWIDTH,ICONHEIGHT,ICONDEPTH, &IconData[0][0], 3,0, NULL};
struct Image DefaultScreenIcon =
{0,0, ICONWIDTH,ICONHEIGHT,ICONDEPTH, &ScreenIconData[0][0], 3,0, NULL};
char *HiResCLICommand; /* Text for NewCLI menu on HIRES screens */
char *LoResCLICommand; /* Text for NewCLI menu on LORES screens */
long StackSize; /* Stack size for NewCLI commands */
struct Image *DefaultImage; /* Default icon Image */
struct Image *DefaultSelect; /* Default icon Select Image */
struct Image *DefaultMask; /* Default icon Mask image */
struct Image *DefaultScreenImage; /* Default screen icon Image */
struct Image *DefaultScreenSelect; /* Default screen icon Select image */
struct Image *DefaultScreenMask; /* Default screen icon Mask image */
ULONG DefaultFlags; /* Default icon flags */
ULONG DefaultScreenFlags; /* Default screen icon flags */
struct Ignore *IgnoreScreen; /* List of screen titles to ignore */
UBYTE IconifyKey,ActivateKey; /* Key codes for hot keys */
UWORD IconifyQuals,IconifyDisquals,IconifyChange;
UWORD ActivateQuals;
UWORD Colors[32] = /* Default screen colors for new screens */
{NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,
NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,
NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,
NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR};